import { colorLib } from '@/views/cqCheck/schedule/common'

export const recordMixin = {
  props: {
    unitType: { type: Number, default: 0 },
    list: { type: Array, default: () => [] },
    status: [String, Number],
    roleKey: String
  },
  data() {
    return { colorLib }
  },
  methods: {
    cellClick(data) {
      this.$emit('cellClick', data)
    }
  }
}
